//
//  MyUILabel.m
//  WhatsUP
//
//  Created by Jason on 2020/11/21.
//  Copyright © 2020 Group6. All rights reserved.
//

#import "MyUILabel.h"

@implementation MyUILabel

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

-(void)drawTextInRect:(CGRect)rect{
    
    CGRect frame = CGRectMake(rect.origin.x + 8, rect.origin.y + 2, rect.size.width - 16, rect.size.height - 4);
    [super drawTextInRect:frame];
    
}

@end
